package com.jcode222.dao;

import com.jcode222.entity.Order;
import com.jcode222.entity.Storage;
import org.apache.ibatis.annotations.Mapper;


/**
 * @author jcode222
 */
@Mapper
public interface IStorageDao {
    void save(Storage storage);

    Storage findById(Long id);

    void decreaseStorage(Order order);
}
